package com.leaves.javamall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leaves.common.utils.PageUtils;
import com.leaves.javamall.product.entity.AttrGroupEntity;
import com.leaves.javamall.product.vo.AttrGroupRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author leaves
 * @email lxhu.work@gmail.com
 * @date 2020-08-10 16:47:20
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //创建新的方法后 要记得添加其实现类impl
    PageUtils queryPage(Map<String, Object> params, Long categoryId);

    List<AttrGroupRelationVo> getgetAttrGroupWithAttrsByCatelogId(Long catId);
}

